package au.edu.swin.swinvehicle.vehiclebooking;

/**
 * VehicleBooking entity
 * @version 1.0
 * @author Viet Bui
 * @lastmodify 2009-05-10
 */
import java.io.Serializable;
import java.util.Date;

// We will make the class Serializable so we can easily send it to remote clients.
public class VehicleBookingTO implements Serializable {

    private Long id;
    private String contactName;
    private String customerName;
    private Date pickUpDate;
    private String pickUpAddress;
    private long bookingTypeId;
    private long eventTypeId;
    private boolean taskCompleted;

    public VehicleBookingTO() {
    }

    public VehicleBookingTO(Long id, String contactName, String customerName, Date pickUpDate, String pickUpAddress, long bookingTypeId, long eventTypeId, boolean taskCompleted) {
        this.id = id;
        this.contactName = contactName;
        this.customerName = customerName;
        this.pickUpDate = pickUpDate;
        this.pickUpAddress = pickUpAddress;
        this.bookingTypeId = bookingTypeId;
        this.eventTypeId = eventTypeId;
        this.taskCompleted = taskCompleted;
    }

    public long getBookingTypeId() {
        return bookingTypeId;
    }

    public void setBookingTypeId(long bookingTypeId) {
        this.bookingTypeId = bookingTypeId;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public long getEventTypeId() {
        return eventTypeId;
    }

    public void setEventTypeId(long eventTypeId) {
        this.eventTypeId = eventTypeId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPickUpAddress() {
        return pickUpAddress;
    }

    public void setPickUpAddress(String pickUpAddress) {
        this.pickUpAddress = pickUpAddress;
    }

    public Date getPickUpDate() {
        return pickUpDate;
    }

    public void setPickUpDate(Date pickUpDate) {
        this.pickUpDate = pickUpDate;
    }

    public boolean isTaskCompleted() {
        return taskCompleted;
    }

    public void setTaskCompleted(boolean taskCompleted) {
        this.taskCompleted = taskCompleted;
    }
}
